dxl common shared folder

  • OK, we know this works, no problem, we can include a file like this:
#include "//abcdefg1/install/DOORS_DXL_Addins_Test/DXL/SubMenuFolder/Include_Files/ABC.inc"

  • now I want to replace the front bit to a common shared folder
  • and I did change the slashes around in the string and added slashes etc - nothing seems to work
const string NEW_SHARED_PATH = "//abcdefg1//install//DOORS_DXL_Addins_Test//DXL"

  • and include the same file as above, but that does not work as such
#include NEW_SHARED_PATH "/SubMenuFolder/Include_Files/ABC.inc"

  • and also does not work as
#include <NEW_SHARED_PATH "/SubMenuFolder/Include_Files/ABC.inc">

Is there a way around it, and someone found to make this work? and is willing to share. or am I having a 'friday arvo' moment and this is not possible to do at all?
There is reason behind all this and the "ProjectAddins" and "Addins" switches and registry entries are not the ideal solution in this case - but if I have to then, sigh, I shall use the switches.

Thanks for all your help
Werner
SystemAdmin - Thu Mar 31 23:25:48 EDT 2011

Re: dxl common shared folder
Mathias Mamsch - Fri Apr 01 05:10:41 EDT 2011

Ok, first of all: You really should use command line switches or registry entries to change your include path.

There is a "for educational purposes only" method for changing your include path at runtime, posted here, however note that this has only been tested on DOORS 8.2 and DOORS 9.2.0.0 and might not work on higher versions or with future updates.

Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS